package com.yonyou.cyxdms.sysAuth.service.mapper;

import com.yonyou.cyx.framework.dao.base.IMapper;
import com.yonyou.cyxdms.sysAuth.service.entity.BindPO;
import org.apache.ibatis.annotations.Param;

public interface BindMapper extends IMapper<BindPO> {

    BindPO getByPhoneAndAppId(@Param("mobile") String mobile, @Param("appId") String appId);

    BindPO getByPhone(@Param("mobile") String mobile);

    BindPO getByUserCode(@Param("userCode") String userCode, @Param("appId") String appId);
}
